package cn.iocoder.yudao.module.system.controller.admin.mini.other.turnTable.controller.admin.turntable.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 转盘管理 Excel 导出 Request VO，参数和 TurntablePageReqVO 是一致的")
@Data
public class TurntableExportReqVO {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "抽奖轮盘名称", example = "李四")
    private String name;

    @Schema(description = "轮盘图片", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "轮盘类型", example = "1")
    private Integer type;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "抽奖次数")
    private Integer size;

    @Schema(description = "状态1开启2关闭", example = "1")
    private Integer status;

}
